Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | (function(http) { |
||
15 | documentationAction: function() { |
||
16 | |||
17 | var res = '/contents/landingpage.html'; |
||
18 | |||
19 | http.get(res, function(response) { |
||
20 | |||
21 | document.getElementById('mainContent').innerHTML = response; |
||
22 | |||
23 | }, function() { |
||
24 | console.log('Error'); |
||
25 | }); |
||
26 | |||
27 | }, |
||
28 | |||
37 | })(faulancer.namespace('docs.routing.http')); |
||
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.
To learn more about declaring variables in Javascript, see the MDN.